<@master template="common/default" title="首页">
<div class="detailsBox clearfix">
	<div class="openBox">
		<h3 class="mt20">价格行情</h3>
		<div>
			<form action="/price/download" class="clearfix" method="POST">
				<table>
					<tr>
						<td>
							<select name="platform">
								<option value>请选择</option>
								<option value="nc_price">新农商网农产品</option>
								<option value="zol_phone">中关村手机</option>
								<option value="jingdong_phone">京东手机</option>
							</select>
						</td>
						<td><@date name="date" value="哪一天" class="action-valid-field"  data\-action\-valid\-rule="required"/></td>
						<td><input class="dlBtn" type="submit" value="导出excel"></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
	<div class="dataBable action-pagination-table">
		<table>
			<thead>
				<tr>
					<th>日期</th>
					<th>产品</th>
					<th>价格</th>
					<th>市场</th>
					<th>走势</th>
				</tr>
			</thead>
			<tbody>
				<#list nps as np>
					<tr>
						<td>${np.date}</td>
						<td>${np.product}</td>
						<td>${np.price}</td>
						<td>${np.market}</td>
						<td><a target="_blank" href="${np.trend}">看走势</a></td>							
					</tr>
				</#list>
			</tbody>
		</table>
	</div>
</div>
</@master>
